import request from "@/utils/request";

export function orderCreateService(orderData){
    return request.post('/orders/create',orderData)
}

export function orderUpdateService(orderId){
    return request.put('/orders/update?orderId='+orderId)
}


export function orderListByUserId(userId){
    return request.get('/orders/listByUserId?userId='+userId)
}